home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 July / Disc 2 / PCU0703CD2.iso / entertn / demos / files / ron.exe / data / scripteditor.xml < prev    next >
Encoding:
Text File  |  2003-04-29  |  17.7 KB  |  283 lines

  1. <!-- edited with XMLSPY v5 rel. 2 U (http://www.xmlspy.com) by Big Huge Games (Big Huge Games) -->
  2. <!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Ilya Kreymer (Big Huge Games) -->
  3. <ROOT>
  4.     <SCRIPTEDITOR name="Script Editor" title="Script Editor" left="0" top="0" bottom_inverse="0" right_inverse="0" show="0">
  5.         <IFACETEXLOAD id="TEX_WRAPPER_0" file=".\art\wrapper_pieces_01.tga"/>
  6.         <IFACETEXLOAD id="TEX_WRAPPER_1" file=".\art\wrapper_pieces_02.tga"/>
  7.         <IFACETEXLOAD id="TEX_WRAPPER_2" file=".\art\wrapper_pieces_03.tga"/>
  8.         <IFACETEXLOAD id="TEX_WRAPPER_3" file=".\art\wrapper_pieces_01-M.tga"/>
  9.         <IFACETEXLOAD id="TEX_GAMESPY" file=".\art\Wrapper_pieces_gamespy.tga" pixformat="PF_32"/>
  10.         <IFACETEX name="combo_left" texture="TEX_WRAPPER_1" left="193" top="1" width="4" height="21"/>
  11.         <IFACETEX name="combo_mid" texture="TEX_WRAPPER_1" left="198" top="1" width="130" height="21"/>
  12.         <IFACETEX name="combo_right" texture="TEX_WRAPPER_1" left="329" top="1" width="3" height="21"/>
  13.         <IFACETEX name="combo_arrow" texture="TEX_WRAPPER_1" left="123" top="1" width="23" height="21"/>
  14.         <IFACETEX name="combo_left_d" texture="TEX_WRAPPER_1" left="193" top="24" width="4" height="21"/>
  15.         <IFACETEX name="combo_mid_d" texture="TEX_WRAPPER_1" left="198" top="24" width="130" height="21"/>
  16.         <IFACETEX name="combo_right_d" texture="TEX_WRAPPER_1" left="329" top="24" width="3" height="21"/>
  17.         <IFACETEX name="combo_arrow_d" texture="TEX_WRAPPER_1" left="123" top="24" width="23" height="21"/>
  18.         <IFACETEX name="small_button_left" texture="TEX_WRAPPER_1" left="193" top="47" width="17" height="30"/>
  19.         <IFACETEX name="small_button_mid" texture="TEX_WRAPPER_1" left="211" top="47" width="142" height="30"/>
  20.         <IFACETEX name="small_button_right" texture="TEX_WRAPPER_1" left="354" top="47" width="17" height="30"/>
  21.         <IFACETEX name="button_border_left" texture="TEX_WRAPPER_0" left="229" top="436" width="36" height="75"/>
  22.         <IFACETEX name="button_border_mid" texture="TEX_WRAPPER_0" left="266" top="436" width="201" height="75"/>
  23.         <IFACETEX name="button_border_right" texture="TEX_WRAPPER_0" left="468" top="436" width="43" height="75"/>
  24.         <IFACETEX name="drop_arrow" texture="TEX_WRAPPER_1" left="46" top="72" width="12" height="12"/>
  25.         <IFACEBORDER name="thin_border">
  26.             <IFACETEX name="corner0" texture="TEX_CIV" left="377" top="258" width="3" height="3"/>
  27.             <IFACETEX name="corner1" texture="TEX_CIV" left="509" top="258" width="3" height="3"/>
  28.             <IFACETEX name="corner2" texture="TEX_CIV" left="509" top="287" width="3" height="3"/>
  29.             <IFACETEX name="corner3" texture="TEX_CIV" left="377" top="287" width="3" height="3"/>
  30.             <IFACETEX name="edge0" texture="TEX_CIV" left="381" top="258" width="127" height="3"/>
  31.             <IFACETEX name="edge1" texture="TEX_CIV" left="377" top="262" width="3" height="24"/>
  32.             <IFACETEX name="edge2" texture="TEX_CIV" left="381" top="287" width="127" height="3"/>
  33.             <IFACETEX name="edge3" texture="TEX_CIV" left="509" top="262" width="3" height="24"/>
  34.         </IFACEBORDER>
  35.         <WINDOW name="toolbar" left="0" top="0" right_inverse="0" height="165">
  36.             <IFACETEX name="button_up" texture="TEX_CIV" left="278" top="88" width="9" height="19"/>
  37.             <IFACETEX name="button_up" texture="TEX_CIV" left="288" top="88" width="30" height="19"/>
  38.             <IFACETEX name="button_up" texture="TEX_CIV" left="319" top="88" width="9" height="19"/>
  39.             <IFACETEX name="button_down" texture="TEX_CIV" left="329" top="88" width="9" height="19"/>
  40.             <IFACETEX name="button_down" texture="TEX_CIV" left="339" top="88" width="30" height="19"/>
  41.             <IFACETEX name="button_down" texture="TEX_CIV" left="370" top="88" width="9" height="19"/>
  42.             <IFACETEX name="back" texture="TEX_CIV" left="0" top="371" width="160" height="141"/>
  43.             <IFACEBORDER name="misc">
  44.                 <IFACETEX name="corner0" texture="TEX_CIV" left="10" top="10" width="6" height="6"/>
  45.                 <IFACETEX name="corner1" texture="TEX_CIV" left="34" top="10" width="6" height="6"/>
  46.                 <IFACETEX name="corner2" texture="TEX_CIV" left="34" top="34" width="6" height="6"/>
  47.                 <IFACETEX name="corner3" texture="TEX_CIV" left="10" top="34" width="6" height="6"/>
  48.                 <IFACETEX name="edge0" texture="TEX_CIV" left="51" top="5" width="103" height="4"/>
  49.                 <IFACETEX name="edge1" texture="TEX_CIV" left="0" top="51" width="4" height="93"/>
  50.                 <IFACETEX name="edge2" texture="TEX_CIV" left="51" top="10" width="103" height="4"/>
  51.                 <IFACETEX name="edge3" texture="TEX_CIV" left="5" top="51" width="4" height="93"/>
  52.             </IFACEBORDER>
  53.             <IFACERECT name="misc_border" left="0" top="0" right_inverse="0" bottom_inverse="0"/>
  54.             <BUTTON name="exit" title="X" width="-24" height="24" top="6" right_inverse="2"/>
  55.             <BUTTON name="close" title="Close Script" width="-110" height="30" top="55" right_inverse="2"/>
  56.             <POSITIONING x="6" y="15" inc_x="8" inc_y="0" variable_inc="1">
  57.                 <DROPBUTTON name="select_file" title="Loaded Files" width="160" height="30"/>
  58.                 <DROPBUTTON name="file" title="File" width="110" height="30">
  59.                     <ENTRY name="new"/>
  60.                     <ENTRY name="new_temp"/>
  61.                     <ENTRY/>
  62.                     <ENTRY name="load"/>
  63.                     <ENTRY/>
  64.                     <ENTRY name="save"/>
  65.                     <ENTRY name="save_as"/>
  66.                     <ENTRY/>
  67.                     <ENTRY name="close"/>
  68.                     <ENTRY/>
  69.                     <ENTRY name="exit"/>
  70.                 </DROPBUTTON>
  71.                 <DROPBUTTON name="edit" title="Edit" width="110" height="30">
  72.                     <ENTRY name="insert_func"/>
  73.                     <ENTRY name="insert_trigger"/>
  74.                     <ENTRY/>
  75.                     <ENTRY name="undo"/>
  76.                     <ENTRY name="redo"/>
  77.                     <ENTRY/>
  78.                     <ENTRY name="cut"/>
  79.                     <ENTRY name="copy"/>
  80.                     <ENTRY name="paste"/>
  81.                     <ENTRY/>
  82.                     <ENTRY name="select_all"/>
  83.                     <ENTRY/>
  84.                     <ENTRY name="scroll_to_line"/>
  85.                     <ENTRY/>
  86.                     <ENTRY name="find"/>
  87.                     <ENTRY name="find_next"/>
  88.                     <ENTRY name="replace"/>
  89.                 </DROPBUTTON>
  90.                 <DROPBUTTON name="view" title="View" width="110" height="30">
  91.                     <ENTRY name="toggle_output"/>
  92.                     <ENTRY name="show_log"/>
  93.                 </DROPBUTTON>
  94.                 <DROPBUTTON name="scroll_to_trigger" title="Scroll to trigger" width="160" height="30"/>
  95.                 <DROPBUTTON name="scroll_to_script" title="Scroll to script" width="160" height="30"/>
  96.             </POSITIONING>
  97.             <POSITIONING x="6" y="55" inc_x="8" inc_y="0" variable_inc="1">
  98.                 <DROPBUTTON name="breakpoints" title="Breakpoints" width="110" height="30">
  99.                     <ENTRY name="toggle_break"/>
  100.                     <ENTRY name="remove_breaks"/>
  101.                     <ENTRY/>
  102.                 </DROPBUTTON>
  103.                 <BUTTON name="compile" title="Compile" width="110" height="30"/>
  104.                 <DROPBUTTON name="run" title="Run in IDE" width="110" height="30"/>
  105.                 <DROPBUTTON name="step_into" title="Step Into" width="110" height="30"/>
  106.                 <DROPBUTTON name="debug" title="Debug" width="110" height="30">
  107.                     <ENTRY name="run"/>
  108.                     <ENTRY name="step_into"/>
  109.                     <ENTRY name="step_to_trigger"/>
  110.                     <ENTRY name="step_to_line"/>
  111.                     <ENTRY name="step_over"/>
  112.                     <ENTRY name="step_out"/>
  113.                     <ENTRY name="stop"/>
  114.                 </DROPBUTTON>
  115.                 <DROPBUTTON name="watch" title="Watch Windows" width="160" height="30">
  116.                     <ENTRY name="watch_statics"/>
  117.                     <ENTRY name="watch_locals"/>
  118.                     <ENTRY name="watch_triggers"/>
  119.                     <ENTRY name="watch_custom"/>
  120.                     <ENTRY name="watch_returns"/>
  121.                 </DROPBUTTON>
  122.                 <BUTTON name="stop" title="Stop" width="100" height="30"/>
  123.             </POSITIONING>
  124.             <STYLE PASS_CONTROLS="1"/>
  125.             <COMBOBOX name="stack_frame_combo" left="250" top="95" width="400" height="21" title="Current Script at Breakpoint:"/>
  126.         </WINDOW>
  127.         <IFACERECT name="status_rect" left="6" top="120" right_inverse="6" height="40"/>
  128.         <IFACECOLOR name="normal" red="0" green="0" blue="0"/>
  129.         <IFACECOLOR name="error" red="192" green="64" blue="0"/>
  130.         <SCRIPTEDITBOX name="scriptedit" left="0" top="165" right_inverse="0" bottom_inverse="0" show="0" empty_line_padding="6" break_width="15" break_padding="8" ime_disabled="0">
  131.             <IFACETEX name="break_tex" texture="TEX_WRAPPER_2" left="321" top="253" width="25" height="25"/>
  132.             <IFACETEX name="step_tex" texture="TEX_WRAPPER_0" left="135" top="56" width="12" height="12"/>
  133.             <IFACEBORDER name="misc">
  134.                 <IFACETEX name="corner0" texture="TEX_GAMESPY" left="209" top="0" width="18" height="18"/>
  135.                 <IFACETEX name="corner1" texture="TEX_GAMESPY" left="494" top="0" width="18" height="18"/>
  136.                 <IFACETEX name="corner2" texture="TEX_GAMESPY" left="494" top="285" width="18" height="18"/>
  137.                 <IFACETEX name="corner3" texture="TEX_GAMESPY" left="209" top="285" width="18" height="18"/>
  138.                 <IFACETEX name="edge0" texture="TEX_GAMESPY" left="228" top="0" width="265" height="11"/>
  139.                 <IFACETEX name="edge1" texture="TEX_GAMESPY" left="500" top="19" width="12" height="265"/>
  140.                 <IFACETEX name="edge2" texture="TEX_GAMESPY" left="228" top="291" width="265" height="12"/>
  141.                 <IFACETEX name="edge3" texture="TEX_GAMESPY" left="209" top="19" width="12" height="265"/>
  142.             </IFACEBORDER>
  143.             <IFACERECT name="misc_border" left="0" top="0" right_inverse="0" bottom_inverse="0"/>
  144.             <IFACECOLOR name="normal" color_name="black" red="0" green="0" blue="0"/>
  145.             <IFACECOLOR name="numbers" color_name="dark pink" red="128" green="0" blue="128"/>
  146.             <IFACECOLOR name="strings" color_name="dark red" red="128" green="0" blue="0"/>
  147.             <IFACECOLOR name="operators" color_name="dark cyan" red="0" green="128" blue="128"/>
  148.             <IFACECOLOR name="keywords" color_name="dark blue" red="0" green="0" blue="128"/>
  149.             <IFACECOLOR name="comments" color_name="dark green" red="0" green="128" blue="0"/>
  150.             <IFACECOLOR name="game_functions" color_name="dark orange" red="128" green="80" blue="0"/>
  151.             <IFACECOLOR name="script_heading" color_name="brown" red="79" green="41" blue="41"/>
  152.             <IFACECOLOR name="back_color" color_name="light grey" red="180" green="180" blue="180"/>
  153.             <IFACECOLOR name="break_color" color_name="grey" red="128" green="128" blue="128"/>
  154.             <STYLE DIALOG="1" CHILD="1" NO_TAB_FOCUS="1"/>
  155.             <SCROLL name="vscroll" right_inverse="0" top="0" bottom_inverse="0" width="0" show="0" vert="1"/>
  156.             <SCROLL name="hscroll" height="0" left="0" bottom_inverse="0" right_inverse="0" show="0" horiz="1"/>
  157.             <IFACERECT name="text_rect" left="24" right_inverse="2" top="2" bottom_inverse="2"/>
  158.             <FONT typeface="Courier New" size="14" tex_size="14" style=""/>
  159.         </SCRIPTEDITBOX>
  160.         <WINDOW name="err_output_win" left="0" bottom_inverse="0" right_inverse="0" height="-120" show="0">
  161.             <BUTTON name="close_output" title="X" right_inverse="0" top="0" width="-16" height="16">
  162.                 <STYLE PASS_CONTROLS="1"/>
  163.             </BUTTON>
  164.             <LISTBOX2 name="output_list" left="0" top="20" right_inverse="0" bottom_inverse="0">
  165.                 <STYLE PASS_CONTROLS="1"/>
  166.             </LISTBOX2>
  167.             <STYLE PASS_CONTROLS="1" CHILD="1"/>
  168.         </WINDOW>
  169.         <IFACERECT name="watch_rect_long_0" left="0" width="228" percent_height="-1000" y_percent_diff="165" bottom_inverse="0"/>
  170.         <IFACERECT name="watch_rect_long_1" width="-228" percent_height="-1000" y_percent_diff="165" bottom_inverse="0" right_inverse="0"/>
  171.         <IFACERECT name="watch_rect_0" left="0" width="228" top="165" percent_height="500" y_percent_diff="165"/>
  172.         <IFACERECT name="watch_rect_1" left="0" width="228" percent_height="-500" y_percent_diff="165" bottom_inverse="0"/>
  173.         <IFACERECT name="watch_rect_2" width="-228" top="165" percent_height="500" y_percent_diff="165" right_inverse="0"/>
  174.         <IFACERECT name="watch_rect_3" width="-228" percent_height="-500" y_percent_diff="165" bottom_inverse="0" right_inverse="0"/>
  175.         <WATCHWIN name="watch_statics" title="Static Vars" ref_rect="watch_rect_0" show="0">
  176.             <BUTTON name="close" title="X" right_inverse="0" top="0" width="-16" height="16"/>
  177.             <WATCH_LIST name="watch_list" left="0" top="20" right_inverse="0" bottom_inverse="0"/>
  178.             <STYLE DIALOG="1"/>
  179.         </WATCHWIN>
  180.         <WATCHWIN name="watch_locals" title="Local Vars" ref_rect="watch_rect_1" show="0">
  181.             <BUTTON name="close" title="X" right_inverse="0" top="0" width="-16" height="16"/>
  182.             <WATCH_LIST name="watch_list" left="0" top="20" right_inverse="0" bottom_inverse="0"/>
  183.             <STYLE DIALOG="1"/>
  184.         </WATCHWIN>
  185.         <WATCHWIN name="watch_triggers" title="Triggers" ref_rect="watch_rect_2" show="0">
  186.             <BUTTON name="close" title="X" right_inverse="0" top="0" width="-16" height="16"/>
  187.             <WATCH_LIST name="watch_list" left="0" top="20" right_inverse="0" bottom_inverse="0"/>
  188.             <STYLE DIALOG="1"/>
  189.         </WATCHWIN>
  190.         <WATCHWIN name="watch_custom" title="Custom Watch" ref_rect="watch_rect_3" show="0">
  191.             <BUTTON name="close" title="X" right_inverse="0" top="0" width="-16" height="16"/>
  192.             <WATCH_LIST name="watch_list" left="0" top="20" right_inverse="0" bottom_inverse="0"/>
  193.             <STYLE DIALOG="1"/>
  194.         </WATCHWIN>
  195.         <WATCHWIN name="watch_returns" title="Return Values" ref_rect="watch_rect_0" show="0">
  196.             <BUTTON name="close" title="X" right_inverse="0" top="0" width="-16" height="16"/>
  197.             <WATCH_LIST name="watch_list" left="0" top="20" right_inverse="0" bottom_inverse="0"/>
  198.             <STYLE DIALOG="1"/>
  199.         </WATCHWIN>
  200.         <TEXT_NEW_TRIGGER xml:space="preserve">
  201.  
  202. trigger $TRIGGERNAME0 (/*$CONDITION_COMMENT1*/)  {
  203.  
  204.   /*$ACTIONS_COMMENT2*/
  205. }
  206. </TEXT_NEW_TRIGGER>
  207.         <TEXT_NEW_SCENARIO xml:space="preserve">scenario () {
  208.  
  209. labels {
  210.   //$LABELS_COMMENT0
  211. }
  212.  
  213. run_once {
  214.   //$RUNONCE_COMMENT1
  215. }
  216.  
  217. /*$BODY_COMMENT2*/
  218.  
  219. }
  220. </TEXT_NEW_SCENARIO>
  221.         <FUNCBROWSER name="Functions" center_x_off="0" center_y_off="0" width="600" height="500" title="Functions Window" show="0">
  222.             <IFACETEX name="back" texture="TEX_WRAPPER_0" left="371" top="292" width="105" height="105"/>
  223.             <IFACEBORDER name="main">
  224.                 <IFACETEX name="corner0" texture="TEX_WRAPPER_0" left="300" top="295" width="25" height="25"/>
  225.                 <IFACETEX name="corner1" texture="TEX_WRAPPER_0" left="300" top="295" width="25" height="25"/>
  226.                 <IFACETEX name="corner2" texture="TEX_WRAPPER_0" left="300" top="295" width="25" height="25"/>
  227.                 <IFACETEX name="corner3" texture="TEX_WRAPPER_0" left="300" top="295" width="25" height="25"/>
  228.                 <IFACETEX name="edge0" texture="TEX_WRAPPER_0" left="295" top="264" width="190" height="13"/>
  229.                 <IFACETEX name="edge1" texture="TEX_WRAPPER_0" left="381" top="1" width="13" height="167"/>
  230.                 <IFACETEX name="edge2" texture="TEX_WRAPPER_0" left="295" top="278" width="190" height="13"/>
  231.                 <IFACETEX name="edge3" texture="TEX_WRAPPER_0" left="395" top="1" width="13" height="167"/>
  232.             </IFACEBORDER>
  233.             <IFACETEX name="combo_left" texture="TEX_WRAPPER_1" left="193" top="1" width="4" height="21"/>
  234.             <IFACETEX name="combo_mid" texture="TEX_WRAPPER_1" left="198" top="1" width="130" height="21"/>
  235.             <IFACETEX name="combo_right" texture="TEX_WRAPPER_1" left="329" top="1" width="3" height="21"/>
  236.             <IFACETEX name="combo_arrow" texture="TEX_WRAPPER_1" left="123" top="1" width="23" height="21"/>
  237.             <IFACETEX name="combo_left_d" texture="TEX_WRAPPER_1" left="193" top="24" width="4" height="21"/>
  238.             <IFACETEX name="combo_mid_d" texture="TEX_WRAPPER_1" left="198" top="24" width="130" height="21"/>
  239.             <IFACETEX name="combo_right_d" texture="TEX_WRAPPER_1" left="329" top="24" width="3" height="21"/>
  240.             <IFACETEX name="combo_arrow_d" texture="TEX_WRAPPER_1" left="123" top="24" width="23" height="21"/>
  241.             <IFACETEX name="small_button_left" texture="TEX_WRAPPER_1" left="193" top="47" width="17" height="30"/>
  242.             <IFACETEX name="small_button_mid" texture="TEX_WRAPPER_1" left="211" top="47" width="142" height="30"/>
  243.             <IFACETEX name="small_button_right" texture="TEX_WRAPPER_1" left="354" top="47" width="17" height="30"/>
  244.             <IFACETEX name="button_border_left" texture="TEX_WRAPPER_0" left="229" top="436" width="36" height="75"/>
  245.             <IFACETEX name="button_border_mid" texture="TEX_WRAPPER_0" left="266" top="436" width="201" height="75"/>
  246.             <IFACETEX name="button_border_right" texture="TEX_WRAPPER_0" left="468" top="436" width="43" height="75"/>
  247.             <POSITIONING x="30" y="30" inc_x="0" inc_y="4" variable_inc="2">
  248.                 <IFACERECT name="info_label" right_inverse="70" height="45"/>
  249.                 <EDITBOX name="search_edit" width="250" height="30" ime_disabled="1"/>
  250.                 <COMBOBOX name="group_list" width="250" height="21"/>
  251.                 <LISTBOX2 name="func_list" width="250" height="200">
  252.                     <STYLE CLICK_FOCUS="1"/>
  253.                 </LISTBOX2>
  254.             </POSITIONING>
  255.             <BUTTON title="Insert Selected Function" name="Insert" center_off_x="-100" bottom_inverse="5" width="220" height="-30"/>
  256.             <BUTTON title="Cancel" name="Cancel" center_off_x="100" bottom_inverse="5" width="140" height="-30"/>
  257.             <STRINGBOX name="desc_text" left="290" top="125" right_inverse="8" height="200"/>
  258.             <IFACEBORDER name="text_border">
  259.                 <IFACETEX name="corner0" texture="TEX_CIV" left="377" top="258" width="3" height="3"/>
  260.                 <IFACETEX name="corner1" texture="TEX_CIV" left="509" top="258" width="3" height="3"/>
  261.                 <IFACETEX name="corner2" texture="TEX_CIV" left="509" top="287" width="3" height="3"/>
  262.                 <IFACETEX name="corner3" texture="TEX_CIV" left="377" top="287" width="3" height="3"/>
  263.                 <IFACETEX name="edge0" texture="TEX_CIV" left="381" top="258" width="127" height="3"/>
  264.                 <IFACETEX name="edge1" texture="TEX_CIV" left="377" top="262" width="3" height="24"/>
  265.                 <IFACETEX name="edge2" texture="TEX_CIV" left="381" top="287" width="127" height="3"/>
  266.                 <IFACETEX name="edge3" texture="TEX_CIV" left="509" top="262" width="3" height="24"/>
  267.             </IFACEBORDER>
  268.             <STYLE TOP="1" CLIENTDRAG="1"/>
  269.         </FUNCBROWSER>
  270.     </SCRIPTEDITOR>
  271.     <SCRIPTLOG name="log" title="Script Message Log" center_off_x="0" center_off_y="0" right="800" bottom="600" max_entries="30">
  272.         <IFACETEXLOAD id="TEX_WRAPPER_0" file=".\art\wrapper_pieces_01.tga"/>
  273.         <IFACETEXLOAD id="TEX_WRAPPER_1" file=".\art\wrapper_pieces_01-M.tga"/>
  274.         <STRINGBOX name="output" left="10" top="10" right_inverse="10" bottom="550"/>
  275.         <POSITIONING x="120" y="575" inc_x="4" inc_y="0" variable_inc="1">
  276.             <BUTTON name="save" title="Save" width="110" height="25"/>
  277.             <BUTTON name="copy" title="Copy" width="110" height="25"/>
  278.             <BUTTON name="clear" title="Clear" width="110" height="25"/>
  279.             <BUTTON name="close" title="Close" width="110" height="25"/>
  280.         </POSITIONING>
  281.     </SCRIPTLOG>
  282. </ROOT>
  283.